﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <!-- Do not change the value of the Name attribute below. If it does not match the folder name of the List Definition project item, an error will occur when the project is run. -->

  <Field ID="{5AD22EB5-25F3-4999-8B18-5657142E7910}"
         Name="RedirectURL"
         Type="Text" DisplayName="Redirect URL"
         Required="False"></Field>
  <Field ID="{5AD22EB5-25F3-4999-8B18-5657142E7912}"
         Name="UseRegularExpressions"
         Type="Boolean" DisplayName="Use Regular Expressions"
         Required="False"></Field>
  <Field ID="{5AD22EB5-25F3-4999-8B18-5657142E7914}"
         Name="DisplayMessage"
         Type="Note" DisplayName="Display Message"
         RichText="True" RichTextMode="FullHTML"
         Required="False"></Field>
  <Field ID="{5AD22EB5-25F3-4999-8B18-5657142E7916}"
         Name="DisplayPageTitle"
         Type="Text" DisplayName="Display Page Title"
         Required="False"></Field>
  <Field ID="{5AD22EB5-25F3-4999-8B18-5657142E7918}"
         Name="DisplayTitleArea"
         Type="Text" DisplayName="Display Title Area"
         Required="False"></Field>
  <Field ID="{5AD22EB5-25F3-4999-8B18-5657142E7920}"
         Name="Sorting"
         Type="Number" DisplayName="Sorting" Decimals="0"
         Required="True"></Field>
  <Field ID="{5AD22EB5-25F3-4999-8B18-5657142E7922}"
         Name="Disable"
         Type="Boolean" DisplayName="Disable"
         Required="False"></Field>
  <ContentType
    ID="0x01004d360004c8074de6a25f4d8cdd3be8da"
    Name="URL Redirect"
    Group="Custom Content Type"
    Description="Add a matching record for URL Redirect handling"
    Version="0">
    <FieldRefs>
      <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" DisplayName="URL"/>
      <FieldRef ID="{5AD22EB5-25F3-4999-8B18-5657142E7910}"/>
      <FieldRef ID="{5AD22EB5-25F3-4999-8B18-5657142E7912}"/>
      <FieldRef ID="{5AD22EB5-25F3-4999-8B18-5657142E7914}"/>
      <FieldRef ID="{5AD22EB5-25F3-4999-8B18-5657142E7916}"/>
      <FieldRef ID="{5AD22EB5-25F3-4999-8B18-5657142E7918}"/>
      <FieldRef ID="{5AD22EB5-25F3-4999-8B18-5657142E7920}"/>
      <FieldRef ID="{5AD22EB5-25F3-4999-8B18-5657142E7922}"/>
    </FieldRefs>
  </ContentType>
  
  <ListTemplate
        FeatureId="0152dd29-cdfd-474d-af7e-101c777e46fb"
        Name="URLRedirect"
        Type="10001"
        BaseType="0"
        OnQuickLaunch="TRUE"
        SecurityBits="11"
        Sequence="410"
        DisplayName="URL Redirect"
        Description="Use a URL Redirect list to define match records for URL Redirect handling"
        Image="/_layouts/images/itgen.png"/>
</Elements>
